Release 10.1A: OpenEdge Development:
Web Services
Defining TABLE-HANDLE (dynamic temp-table) parameters
TABLE-HANDLEparameters pass both the schema and data, because the dynamic temp-table schema is not known at compile time. Thus, forTABLE-HANDLEparameters, Progress 4GL Web services map a ProgressTABLE-HANDLEto a<complexType>containing a sequence ofxsd:any. There is a single definition used for allTABLE-HANDLEparameters in all supported SOAP formats. The following WSDL sample shows this commonTABLE-HANDLEparameter definition:
The client application must create (for input) and parse (for output) the XML Schema along with the data for the parameter. How the client inserts the input schema and data in request messages and how it parses the output schema and data from response messages is entirely dependent on the client toolkit.
This is the general format in Progress 4GL Web services for representing a
TABLE-HANDLEin a SOAP message, where the schema is defined in a<schema>element and each row is encapsulated by an<Item>element within a<Data>element:
Each column of a
TABLE-HANDLErow can hold any data type shown in Table 4–4.
Table 4–4: XML data types for TABLE-HANDLE (dynamic temp-table) parameter columns Progress 4GL data type XML Schema data typeINTEGER(32 bit)
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |